package com.ruoyi.project.gxgw_modules.websocket;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * Created by liuw on 2018/8/22.
 */

//websocket配置类注册
@Configuration
public class WeSocketConfig {

    //注册serverendpointer
    @Bean
    public ServerEndpointExporter serverEndpointExporter(){
        return  new ServerEndpointExporter();
    }

}
